package com.shop.clientorder.chainduty;

import com.shop.clientorder.chainduty.kernel.ProcessorChain;
import com.shop.clientorder.chainduty.pojo.StockAttr;
import com.shop.common.core.domain.Result;

/**
 * @Author：Perala
 * @Package：com.llll.order.checkout
 * @Project：LLLL-Cloud
 * @name：Processor
 * @Date：2024/7/7 16:31
 */
public interface Processor {
    Result<Boolean> process(StockAttr stockAttr, ProcessorChain chain);
}
